package com.haiya.factory.absfactory.basic.factory;

import com.haiya.factory.absfactory.basic.product.*;

public class ConcreteFactory2 implements AbstractFactory {
    @Override
    public Product1 newProduct1() {
        return new ConcreteProduct12();
    }

    @Override
    public Product2 newProduct2() {
        return new ConcreteProduct22();
    }
}
